<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2019/6/6
 * Time: 10:06
 */

namespace app\index\controller;



use app\admin\model\CategoryList;
use app\admin\model\LunboList;


class About extends Base
{


    public function lists(){
        $lunbo = LunboList::where('category_id',11)->order('sort desc')->select();
        $category = CategoryList::where('id',11)->find();
        $this->assign('lunbo',$lunbo);
        $this->assign('cate_id',$category);
        return $this->fetch();
    }



}